Adwaita: try to make scrollbars near paned separator usable.
authorLapo Calamandrei <calamandrei@gmail.com>
Sat, 14 Jun 2014 17:06:26 +0000 (19:06 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Sat, 14 Jun 2014 17:06:26 +0000 (19:06 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 2cdd9e678f18df3361a4c39c869250249ba10fac..c8bd130292648ad73c1acb03e167eeab0f4b95dc 100644 (file)
@@ -1659,7 +1659,11 @@ GtkFileChooserDialog .dialog-action-box {
 
 GtkPaned {
   // This is actually the invisible area of the paned separator, not a margin...
-  margin: 16px; //drag area of the separator
+  margin: 0 16px 16px 0; //drag area of the separator
+  &:dir(rtl) {
+    margin-right: 0;
+    margin-left: 16px;
+  }
 }
 
 .pane-separator {
index 9868b8734f5e7f70b6ad77f89325fcfaad40a21d..ba4a9ac16b1a0b36e70e62131d5ad38b6375af3e 100644 (file)
@@ -2172,7 +2172,10 @@ GtkFileChooserDialog .dialog-action-box {
     color: #383e3e; }
 
 GtkPaned {
-  margin: 16px; }
+  margin: 0 16px 16px 0; }
+  GtkPaned:dir(rtl) {
+    margin-right: 0;
+    margin-left: 16px; }
 
 .pane-separator {
   background-image: linear-gradient(to bottom, #1c1f1f); }
index 28dbaa1499e66df289d979f413a8386f7e5aaaef..13a1947a8e33510534fe2090ac24fe0b3ac80177 100644 (file)
@@ -2170,7 +2170,10 @@ GtkFileChooserDialog .dialog-action-box {
     color: #dfdfdf; }
 
 GtkPaned {
-  margin: 16px; }
+  margin: 0 16px 16px 0; }
+  GtkPaned:dir(rtl) {
+    margin-right: 0;
+    margin-left: 16px; }
 
 .pane-separator {
   background-image: linear-gradient(to bottom, #a1a1a1); }